﻿Public Class municipioVO


    Private _id_municipio As Integer
    Private _desc_municipio As String
    Private _regional As New regionalVO
   
    '-------------------------------------
    ' MÉTODO CONSTRUTOR SEM PARAMETROS
    '-------------------------------------

    Sub New()
        _id_municipio = Nothing
        _desc_municipio = Nothing
        _regional = Nothing
    End Sub

    '-------------------------------------
    ' MÉTODO CONSTRUTOR COM PARAMETROS
    '-------------------------------------

    Sub New(ByVal id_municipio As Integer, _
            ByVal desc_municipio As String, ByVal regional As regionalVO)

        _id_municipio = id_municipio
        _desc_municipio = desc_municipio
        _regional = regional


    End Sub

    Public Property ID_MUNICIPIO() As Integer
        Get

            Return _id_municipio

        End Get
        Set(ByVal value As Integer)

            _id_municipio = value

        End Set
    End Property

    Public Property DESC_MUNICIPIO() As String
        Get

            Return _desc_municipio

        End Get
        Set(ByVal value As String)

            _desc_municipio = value

        End Set
    End Property


    Public Property REGIONAL() As regionalVO
        Get

            Return _regional

        End Get
        Set(ByVal value As regionalVO)

            _regional = value

        End Set
    End Property

End Class
